home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr36
/
day010.zip
/
DAY.DOC
next >
Wrap
Text File
|
1993-05-20
|
601b
|
21 lines
DAY version 0.10 Copyright 1993 by MCR
DAY is a Freeware utility that is good for use in batch files and/or BBS
system maintenance events that only take place on certain days of the
week. DAY accepts a command line argument of a day name, and exits with
an errorlevel 2 if the system date returns the corresponding day of the
week.
USAGE:
DAY [weekday]
weekday = Sun, Mon, Tue, Wed, Thu, Fri, or Sat
EXAMPLE:
If DAY is run on a Monday, the following batch file fragment will delete
all files with the extension LOG:
c:
cd\logs
DAY Mon
if errorlevel 2 del *.log